//========================================================================================
//  
//
//
//
//  
//========================================================================================

#ifndef __FrmLblID_h__
#define __FrmLblID_h__
#include "AMPID.h"

///###################################################################################################################
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////// ADDING ICON ON FRAME - NGUYEN MINH TOAN - 2012 - 12 - 18 ///////////////////////////////
#define kFrmLblPluginID		kAMPPluginID
#define kFrmLblPrefix		kAMPPrefix + 300
#define kFrmLblStringPrefix	kAMPStringPrefix

// ClassIDs:
DECLARE_PMID(kClassIDSpace, kFrmLblScriptProviderBoss, kFrmLblPrefix + 1)
DECLARE_PMID(kClassIDSpace, kFrmLblCmdBoss, kFrmLblPrefix + 2)
DECLARE_PMID(kClassIDSpace, kFrmLblPrintPrefsCmdBoss, kFrmLblPrefix + 3)
DECLARE_PMID(kClassIDSpace, kFrmLblPrefsScriptProviderBoss, kFrmLblPrefix + 4)
DECLARE_PMID(kClassIDSpace, kFrmLblErrorStringServiceBoss, kFrmLblPrefix + 5)
DECLARE_PMID(kClassIDSpace, kFrmLblAdornmentBoss, kFrmLblPrefix + 6)
DECLARE_PMID(kClassIDSpace, kFrmLblConversionProviderBoss, kFrmLblPrefix + 7)
DECLARE_PMID(kClassIDSpace, kFrmLblNewPIResponderBoss, kFrmLblPrefix + 8)
DECLARE_PMID(kClassIDSpace, kFrmLblNewDocResponderBoss, kFrmLblPrefix + 9)
DECLARE_PMID(kClassIDSpace, kFrmLblActionPIResponderBoss, kFrmLblPrefix + 10)
// InterfaceIDs:
DECLARE_PMID(kInterfaceIDSpace, IID_IFRMLBLDATASUITE, kFrmLblPrefix + 0)
DECLARE_PMID(kInterfaceIDSpace, IID_IFRMLBLDATA,  kFrmLblPrefix + 1)
DECLARE_PMID(kInterfaceIDSpace, IID_IFRMLBLPRINTBOOLDATA, kFrmLblPrefix + 2)
DECLARE_PMID(kInterfaceIDSpace, IID_FRMLBLDATAFACADE, kFrmLblPrefix + 3)

// ImplementationIDs:
DECLARE_PMID(kImplementationIDSpace, kFrmLblScriptProviderImpl, kFrmLblPrefix + 0 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataSuiteASBImpl, kFrmLblPrefix + 1 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataSuiteLayoutCSBImpl, kFrmLblPrefix + 2 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataSuiteTextCSBImpl, kFrmLblPrefix + 3 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataImpl, kFrmLblPrefix + 4 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataSuiteDefaultsCSBImpl, kFrmLblPrefix + 5 )
DECLARE_PMID(kImplementationIDSpace, kFrmLblAdornmentImpl, kFrmLblPrefix + 6)
DECLARE_PMID(kImplementationIDSpace, kFrmLblCmdImpl, kFrmLblPrefix + 7)
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataSuiteTableCSBImpl, kFrmLblPrefix + 8)
DECLARE_PMID(kImplementationIDSpace, kFrmLblPrintPrefsDataPersistImpl, kFrmLblPrefix + 9)
DECLARE_PMID(kImplementationIDSpace, kFrmLblPrintPrefsCmdImpl, kFrmLblPrefix + 10)
DECLARE_PMID(kImplementationIDSpace, kFrmLblPrefsScriptProviderImpl, kFrmLblPrefix + 11)
DECLARE_PMID(kImplementationIDSpace, kFrmLblResponderImpl, kFrmLblPrefix + 12)
DECLARE_PMID(kImplementationIDSpace, kFrmLblDataFacadeImpl, kFrmLblPrefix + 13)
DECLARE_PMID(kImplementationIDSpace, kFrmLblErrorStringServiceImpl, kFrmLblPrefix + 14)

//Script Element IDs
//Events

// Properties

// ScriptInfoIDs:
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblStringElement, kFrmLblPrefix + 0)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblSizeElement, kFrmLblPrefix + 1)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblVisibilityElement, kFrmLblPrefix + 2)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblFontColorElement, kFrmLblPrefix + 3)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPositionEnumElement, kFrmLblPrefix + 4)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPositionElement, kFrmLblPrefix + 5)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPrintPrefElement, kFrmLblPrefix + 6)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPrefObjectScriptElement, kFrmLblPrefix + 7)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPrefObjectPropertyScriptElement, kFrmLblPrefix + 8)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPrintPrefObjectScriptElement, kFrmLblPrefix + 9)
DECLARE_PMID(kScriptInfoIDSpace, kFrmLblPrintPrefObjectPropertyScriptElement, kFrmLblPrefix + 10)

// ErrorIDs:
DECLARE_PMID(kErrorIDSpace, kFrmLblFailureErrorCode,			kFrmLblPrefix + 0)
DECLARE_PMID(kErrorIDSpace, kFrmLblLabelCommandFailedErrorCode,	kFrmLblPrefix + 1)
DECLARE_PMID(kErrorIDSpace, kFrmLblNoValidPageItemsSelectedErrorCode, kFrmLblPrefix + 2)

// Other StringKeys:
#define kFrmLblAboutBoxStringKey		kFrmLblStringPrefix "kFrmLblAboutBoxStringKey"
#define kFrmLblTargetMenuPath			kFrmLblPluginsMenuPath
#define kFrmLblCmdStringKey				kFrmLblStringPrefix "kFrmLblCmdStringKey"
#define kFrmLblPrintPrefsCmdStringKey	kFrmLblStringPrefix "kFrmLblPrintPrefsCmdStringKey"

#define kFrmLblFailureErrorCodeStringKey		kFrmLblStringPrefix "kFrmLblFailureErrorCodeStringKey"
#define kFrmLblLabelCommandFailedErrorKey		kFrmLblStringPrefix "kFrmLblLabelCommandFailedErrorKey"

// Initial data format version numbers: the frame label persistent data was first introduced in InDesign 1.0
#define kFrmLblInitialMajorFormat		kSDKDef_10_PersistMajorVersionNumber
#define kFrmLblInitialMinorFormat		kSDKDef_10_PersistMinorVersionNumber

// Data format version numbers used for FrmLbl InDesign 1.5. 
// (No data format changes, but a forced format version number change.)
#define kFrmLbl_15_MajorFormat			kSDKDef_15_PersistMajorVersionNumber
#define kFrmLbl_15_MinorFormat			kSDKDef_15_PersistMinorVersionNumber

// Data format IDs used for FrmLbl InDesign 1.0J. 
// (No data format changes, but a forced format version number change.)
#define kFrmLbl_1J_MajorFormat			kSDKDef_1J_PersistMajorVersionNumber
#define kFrmLbl_1J_MinorFormat			kSDKDef_1J_PersistMinorVersionNumber

// Note: There have been no data format changes since InDesign 2.0.

// InDesign CS4 format changes
#define kFrmLblStoreWideStringMajorFormat		kSDKDef_50_PersistMajorVersionNumber
#define kFrmLblStoreWideStringMinorFormat		RezLong(1)

// Format IDs for the PluginVersion resource 
#define kFrmLblLastMajorFormatChange	kFrmLblStoreWideStringMajorFormat		// Most recent major format change
#define kFrmLblLastMinorFormatChange	kFrmLblStoreWideStringMinorFormat					// Most recent minor format change


// Schema field IDs:
#define kFrmLblLabel 0
#define kFrmLblLabelWidth 1
#define kFrmLblPointSize 2
#define kFrmLblVisibility 3
#define kFrmLblColor 4
#define kFrmLblPosition 5
#define kFrmLblstatus 6

#define kUnpublishedStatus		0
#define kDownloadableStatus 	1		//available
#define kEditElsewhereStatus	2		//locked
#define kEditedLocallyStatus 	3		//editing
#define kCheckedOutStatus		4		//checked out & need to update
#define kNoStatus				20		//no status
// other constants
#define kFrmLblDefaultLabel 		"editing"
#define kFrmLblLockedLabel 			"locked"
#define kFrmLblUnpublishLabel 		"unpublished"
#define kFrmLblAvailableLabel 		"ready"
#define kFrmLblDefaultWidth 0
#define kFrmLblDefaultPointSize 6
#define kFrmLblDefaultVisibility kTrue
#define kFrmLblDefaultColor kInvalidUID
#define kFrmLblDefaultPosition 1
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///###################################################################################################################
#endif // __FrmLblID_h__
